/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Technician Technologist Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20356 (C-0-T19465-S20348-S20356-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getTechnicianTechnologistProviderCodes()
 * @model extendedMetaData="name='TechnicianTechnologistProviderCodes'"
 * @generated
 */
public enum TechnicianTechnologistProviderCodes implements Enumerator {
	/**
	 * The '<em><b>156F00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156F00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_156F00000X(0, "_156F00000X", "156F00000X"),

	/**
	 * The '<em><b>156FC0800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FC0800X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FC0800X(1, "_156FC0800X", "156FC0800X"),

	/**
	 * The '<em><b>156FC0801X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FC0801X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FC0801X(2, "_156FC0801X", "156FC0801X"),

	/**
	 * The '<em><b>156FX1700X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1700X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1700X(3, "_156FX1700X", "156FX1700X"),

	/**
	 * The '<em><b>156FX1100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1100X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1100X(4, "_156FX1100X", "156FX1100X"),

	/**
	 * The '<em><b>156FX1101X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1101X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1101X(5, "_156FX1101X", "156FX1101X"),

	/**
	 * The '<em><b>156FX1800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1800X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1800X(6, "_156FX1800X", "156FX1800X"),

	/**
	 * The '<em><b>156FX1201X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1201X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1201X(7, "_156FX1201X", "156FX1201X"),

	/**
	 * The '<em><b>156FX1202X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1202X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1202X(8, "_156FX1202X", "156FX1202X"),

	/**
	 * The '<em><b>156FX1900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1900X_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1900X(9, "_156FX1900X", "156FX1900X");

	/**
	 * The '<em><b>156F00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156F00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156F00000X
	 * @model literal="156F00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _156F00000X_VALUE = 0;

	/**
	 * The '<em><b>156FC0800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FC0800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FC0800X
	 * @model literal="156FC0800X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FC0800X_VALUE = 1;

	/**
	 * The '<em><b>156FC0801X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FC0801X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FC0801X
	 * @model literal="156FC0801X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FC0801X_VALUE = 2;

	/**
	 * The '<em><b>156FX1700X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1700X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1700X
	 * @model literal="156FX1700X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1700X_VALUE = 3;

	/**
	 * The '<em><b>156FX1100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1100X
	 * @model literal="156FX1100X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1100X_VALUE = 4;

	/**
	 * The '<em><b>156FX1101X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1101X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1101X
	 * @model literal="156FX1101X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1101X_VALUE = 5;

	/**
	 * The '<em><b>156FX1800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1800X
	 * @model literal="156FX1800X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1800X_VALUE = 6;

	/**
	 * The '<em><b>156FX1201X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1201X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1201X
	 * @model literal="156FX1201X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1201X_VALUE = 7;

	/**
	 * The '<em><b>156FX1202X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1202X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1202X
	 * @model literal="156FX1202X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1202X_VALUE = 8;

	/**
	 * The '<em><b>156FX1900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1900X
	 * @model literal="156FX1900X"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1900X_VALUE = 9;

	/**
	 * An array of all the '<em><b>Technician Technologist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final TechnicianTechnologistProviderCodes[] VALUES_ARRAY =
		new TechnicianTechnologistProviderCodes[] {
			_156F00000X,
			_156FC0800X,
			_156FC0801X,
			_156FX1700X,
			_156FX1100X,
			_156FX1101X,
			_156FX1800X,
			_156FX1201X,
			_156FX1202X,
			_156FX1900X,
		};

	/**
	 * A public read-only list of all the '<em><b>Technician Technologist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<TechnicianTechnologistProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Technician Technologist Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static TechnicianTechnologistProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			TechnicianTechnologistProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Technician Technologist Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static TechnicianTechnologistProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			TechnicianTechnologistProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Technician Technologist Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static TechnicianTechnologistProviderCodes get(int value) {
		switch (value) {
			case _156F00000X_VALUE: return _156F00000X;
			case _156FC0800X_VALUE: return _156FC0800X;
			case _156FC0801X_VALUE: return _156FC0801X;
			case _156FX1700X_VALUE: return _156FX1700X;
			case _156FX1100X_VALUE: return _156FX1100X;
			case _156FX1101X_VALUE: return _156FX1101X;
			case _156FX1800X_VALUE: return _156FX1800X;
			case _156FX1201X_VALUE: return _156FX1201X;
			case _156FX1202X_VALUE: return _156FX1202X;
			case _156FX1900X_VALUE: return _156FX1900X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private TechnicianTechnologistProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //TechnicianTechnologistProviderCodes
